package cn.lili.modules.promotion.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.promotion.client.PointsGoodsClient;
import cn.lili.modules.promotion.entity.dos.PointsGoods;
import cn.lili.modules.promotion.entity.dto.search.PointsGoodsSearchParams;
import cn.lili.modules.promotion.entity.vos.PointsGoodsVO;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-13 19:28
 * @description: 积分商品Fallback
 */
public class PointsGoodsFallback implements PointsGoodsClient {
  @Override
  public boolean savePointsGoodsBatch(List<PointsGoods> promotionsList) {
    throw new ServiceException();
  }

  @Override
  public PointsGoodsVO getPointsGoodsDetail(String id) {
    throw new ServiceException();
  }

  @Override
  public PointsGoodsVO getPointsGoodsDetailBySkuId(String skuId) {
    throw new ServiceException();
  }

  @Override
  public void updateById(PointsGoodsVO pointsGoodsVO) {
    throw new ServiceException();
  }

  @Override
  public Boolean deletePointsGoods(PointsGoodsSearchParams pointsGoodsSearchParams) {
    throw new ServiceException();
  }
}
